package com.kobeliu.repository;

import com.kobeliu.pojo.mo.HrCollectResumeMO;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * mongoDB数据层
 */
@Repository
public interface HrCollectRepository extends MongoRepository<HrCollectResumeMO,String> {

    List<HrCollectResumeMO> findByHrIdAndResumeExpectId(String hrId, String resumeExpectId);

    void deleteByHrIdAndResumeExpectId(String hrId,String resumeExpectId);
}
